/**
 * 
 */
package com.luck.org.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @hibernate.class table="SYS_PARAMS" lazy="false"
 * Copyright: Copyright (c) 2010
 * @author zhangwenrui 2010-8-4 上午11:28:58
 * @version 1.0
 */
public class SysParams implements Serializable {
	private static final long serialVersionUID = 2498657281410793554L;
	private Long id;
	private String paramCode;//参数代码,与父参数代码一致
	private String paramName;//参数名
	private String paramValue;//参数值
	private SysParams parentParam;//父参数
	private String paramStatus;//状态:1:可用，0：停用
	private Long operUser;
	private Date operTime;
	private String paramType;//0:系统参数，1：业务系统
	
	
	/**
     * @hibernate.id generator-class = "sequence" 
     * @hibernate.generator-param name="sequence" value="seq_sys_param"
     * @hibernate.column sql-type="NUMBER(22,0)" name="id"
     * @return
     */
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

    /**
     * @hibernate.many-to-one class = "com.luck.org.entity.SysParams" column="p_param_id"
     * @return
     */
	public SysParams getParentParam() {
		return parentParam;
	}
	public void setParentParam(SysParams parentParam) {
		this.parentParam = parentParam;
	}
	
	/**
     * @hibernate.property length="16" column="oper_user"
     */
	public Long getOperUser() {
		return operUser;
	}
	public void setOperUser(Long operUser) {
		this.operUser = operUser;
	}
	/**
     * @hibernate.property column="oper_time"
     */
	public Date getOperTime() {
		return operTime;
	}
	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	/**
     * @hibernate.property length="20" column="param_code"
     */	
	public String getParamCode() {
		return paramCode;
	}
	public void setParamCode(String paramCode) {
		this.paramCode = paramCode;
	}
	/**
     * @hibernate.property length="20" column="param_name"
     */
	public String getParamName() {
		return paramName;
	}
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}
	/**
     * @hibernate.property length="10" column="param_value"
     */
	public String getParamValue() {
		return paramValue;
	}
	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}
	/**
     * @hibernate.property length="2" column="param_status"
     */
	public String getParamStatus() {
		return paramStatus;
	}
	public void setParamStatus(String paramStatus) {
		this.paramStatus = paramStatus;
	}
	/**
     * @hibernate.property length="2" column="param_type"
     */
	public String getParamType() {
		return paramType;
	}
	public void setParamType(String paramType) {
		this.paramType = paramType;
	}
	
}
